package com.kangye.game.pojo;


import java.io.Serializable;

public class TUser implements Serializable {

    private long id;
    private String loginname;
    private String password;
    private String username;
    private String head;//头像
    private String tel;//电话
    private int sex;
    private long balance;//余额


    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }


    public String getLoginname() {
        return loginname;
    }

    public void setLoginname(String loginname) {
        this.loginname = loginname;
    }


    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }


    public String getHead() {
        return head;
    }

    public void setHead(String head) {
        this.head = head;
    }


    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }


    public int getSex() {
        return sex;
    }

    public void setSex(int sex) {
        this.sex = sex;
    }


    public long getBalance() {
        return balance;
    }

    public void setBalance(long balance) {
        this.balance = balance;
    }

    @Override
    public String toString() {
        return "TUser{" +
                "id=" + id +
                ", loginname='" + loginname + '\'' +
                ", password='" + password + '\'' +
                ", username='" + username + '\'' +
                ", head='" + head + '\'' +
                ", tel=" + tel +
                ", sex=" + sex +
                ", balance=" + balance +
                '}';
    }
}
